package com.sq.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sq.system.pojo.SysMenu;
import com.sq.system.pojo.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

/**
 * @Entity com.sq.system.pojo.pojo.SysMenu
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> selectRoleMenuByRoleIds(List<SysRole> roleList);

    Set<String> selectRoleMenuCodeByRoleIds(List<SysRole> sysRoles);

    List<SysMenu> selectAllMenu(SysMenu sysMenu);
}




